﻿@model IEnumerable<Resto.CostControl.Web.Controllers.DeliveryTypeViewModel>
@{
    ViewBag.Title = "选择送货单类型";
    Layout = "~/Views/Shared/_LayoutForm.cshtml"; 
}
<style type="text/css">
    .tag
    {
        padding: 2px 5px 2px 5px;
        border: #ccc 1px solid;
        background-color: #DFE8F6;
        display: block;
        float: left;
        margin: 10px 15px 0px 0px;
    }
    .tag a:hover
    {
        text-decoration: underline;
    }
    #tagpanel
    {
        padding: 0px 5px 5px 15px;
    }
    #formTitle
    {
        left: 0px;
        background-color: #DFE8F6;
        width: 100%;
        height: 30px;
        line-height: 30px;
        border-top: #99bbe8 1px solid;
        text-indent: 10px;
        font-size: 16px;
        font-weight: bold;
        color: #456;
    }
</style>
<div id="formTitle">
    请选择送货单分类
</div>
<div id="tagpanel">
    @foreach (var item in Model)
    {
        var url = @Url.Action("Edit", "DishDelivery", new { SiteId = @item.SiteId, Date = @item.DateString });
        <span class="tag"><a href="@url">@item.SiteName（@item.DateString）</a></span>
    }
</div>
